package com.example.myapplication;

/*
    作为数据bean存储教室的信息。
    包括教学楼名name_building,教室编号id_classroom，第一节到第四节课（无人占用则值为“空闲”，有人占用则值为占用人姓名）。
 */
import java.io.Serializable;

public class classroom_info implements Serializable {
    private String name_building;
    private String id_classroom;
    private String class1;
    private String class2;
    private String class3;
    private String class4;

    public classroom_info(){

    }

    public classroom_info(String name_building,String id_classroom,String class1,String class2,String class3,String class4){
        this.setName_building(name_building);
        this.setId_classroom(id_classroom);
        this.setClass1(class1);
        this.setClass2(class2);
        this.setClass3(class3);
        this.setClass4(class4);
    }

    public String getName_building() {
        return name_building;
    }

    public void setName_building(String name_building) {
        this.name_building = name_building;
    }

    public String getId_classroom() {
        return id_classroom;
    }

    public void setId_classroom(String id_classroom) {
        this.id_classroom = id_classroom;
    }

    public String getClass1() {
        return class1;
    }

    public void setClass1(String class1) {
        this.class1 = class1;
    }

    public String getClass2() {
        return class2;
    }

    public void setClass2(String class2) {
        this.class2 = class2;
    }

    public String getClass3() {
        return class3;
    }

    public void setClass3(String class3) {
        this.class3 = class3;
    }

    public String getClass4() {
        return class4;
    }

    public void setClass4(String class4) {
        this.class4 = class4;
    }
}
